From f4d2022d46e16e1fdec8ca9b107a9870155832bf Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Fri, 14 Aug 2015 11:03:43 -0400 Subject: [PATCH] wayland: change wl_log level to G_LOG_LEVEL_DEBUG wl_log() currently logs using G_LOG_LEVEL_ERROR (which is fatal). The wayland client library doesn't expect this behavior. It uses wl_log to log recoverable errors. This commit changes the log level to G_LOG_LEVEL_DEBUG instead. https://bugzilla.gnome.org/show_bug.cgi?id=753635 --- gdk/wayland/gdkdisplay-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/wayland/gdkdisplay-wayland.c b/gdk/wayland/gdkdisplay-wayland.c index b2fad08172..7b8b0ee057 100644 --- a/gdk/wayland/gdkdisplay-wayland.c +++ b/gdk/wayland/gdkdisplay-wayland.c @@ -398,7 +398,7 @@ static const struct wl_registry_listener registry_listener = { static void log_handler (const char *format, va_list args) { - g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, format, args); + g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, format, args); } static void -- 2.30.2